package com.secxiot.provider.user.entity;

import java.io.Serializable;
import java.util.Date;

public class SOSReceiver implements Serializable {
    /**
     * 主键
     */
    private Long id;

    /**
     * 医院id
     */
    private Long hospitalId;

    /**
     * 医院部门id
     */
    private Long deptId;

    /**
     * sos接收者用户id
     */
    private Long userId;

    /**
     * 值班状态，0：未值班 1：值班
     */
    private Integer dutyFlag;

    /**
     * 是否删除，0：未删除 1：已删除
     */
    private Integer delFlag;

    /**
     * 任务类型，只包含SOS接诊和SOS出诊，字典00002
     */
    private String taskType;

    /**
     * 创建人id
     */
    private Long createUser;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getHospitalId() {
        return hospitalId;
    }

    public void setHospitalId(Long hospitalId) {
        this.hospitalId = hospitalId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getDutyFlag() {
        return dutyFlag;
    }

    public void setDutyFlag(Integer dutyFlag) {
        this.dutyFlag = dutyFlag;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public String getTaskType() {
        return taskType;
    }

    public void setTaskType(String taskType) {
        this.taskType = taskType == null ? null : taskType.trim();
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", hospitalId=").append(hospitalId);
        sb.append(", deptId=").append(deptId);
        sb.append(", userId=").append(userId);
        sb.append(", dutyFlag=").append(dutyFlag);
        sb.append(", delFlag=").append(delFlag);
        sb.append(", taskType=").append(taskType);
        sb.append(", createUser=").append(createUser);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}